
@mixin box_qi($selector:'.box',$bdw:2px,$p:2px,$imgw:9px,$imgh:9px){
#{$selector}{margin-bottom:12px;padding:$p;border:$bdw solid #ccc}
#{$selector} .refer{position:relative;width:100%}
#{$selector} .tl, #{$selector} .tr, #{$selector} .bl, #{$selector} .br{ display:block; position:absolute; font-size:0; }
#{$selector} .tl{top:-$bdw -$p; left:-$bdw -$p; width:$imgw; height:$imgh; background:url(img/bg_rndbox2.gif) no-repeat;}
#{$selector} .tr{top:-$bdw -$p; left:-$imgw +$bdw +$p; width:$imgw; height:$imgh; margin-left:100%; background:url(img/bg_rndbox2.gif) 100% 0 no-repeat;}
#{$selector} .bl{top:-$imgh +$bdw +$p; left:-$bdw -$p; width:$imgw; height:$imgh; background:url(img/bg_rndbox2.gif) 0 100% no-repeat;}
#{$selector} .br{top:-$imgh +$bdw +$p; left:-$imgw +$bdw +$p; width:$imgw; height:$imgh; margin-left:100%; background:url(img/bg_rndbox2.gif) 100% 100% no-repeat;}
#{$selector} .content{ padding:10px 10px 19px 24px; border:1px solid #ededed }
}
@include box_qi();
